# FROM reg.docker.alibaba-inc.com/java
FROM openjdk:8-jdk-alpine
# FROM registry.cn-hangzhou.aliyuncs.com/acs/maven:3-jdk-8
VOLUME /tmp

 # ARG JAR_FILE=target/demo39-docker-1.0-SNAPSHOT.jar
 ADD demo39-docker-1.0-SNAPSHOT.jar  app.jar
#ADD ${JAR_FILE} app.jar
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]